// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'


import App from './App'
//import Home from './components/HelloFromVux'
//导入 路由  index.js
import router from './router'

//导入vue-resource
import VueResource from 'vue-resource'

Vue.use(VueResource)


//默认跳转到  food页面
router.push('/food')

FastClick.attach(document.body)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
	router,
	render: h => h(App)
}).$mount('#app-box')